const Mock = require("mockjs");

module.exports = Mock.mock({
  "list|100": [
    {
      title: "@ctitle(8,20)",
      "type|1": [
        {
          "urls|3": ["@image(120x80, @color)"],
        },
        {
          rightImg: "@image(120x80, @color)",
        },
        {
          bigImg: "@image(120x80, @color)",
        },
      ],
      "count|1-100": 1,
      "id": "@id",
      "comment|2-5": [{
        nickname: '@cname',
        avator: '@image(30x30, @color)',
        content: '@cword(10, 100)',
        createTime: '@datetime',
        id: '@id'
      }] 
    },
  ],
});
